Download Oracle Database 11g: Program with PL-SQL.1z0-144.PracticeTest.2018-08-07.62q.vcex

Vendor: Oracle
Exam Code: 1z0-144
Exam Name: Oracle Database 11g: Program with PL/SQL
Date: Aug 07, 2018
File Size: 3 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

ProfExam Discount

Demo Questions

Question 1
The STRING_TAB table has the following structure:
  
 
View the Exhibit and examine the code. 
  
What is the outcome on execution?
  1. It displays 
    Output buffer not long enough. 
    This is my test string.-.
  2. It displays only 
    Output buffer not long enough, and exits the anonymous block.
  3. It displays only 
    This is my test string. - Because EXCEPTION should have been defined in the anonymous block to get the error message.
  4. It does not display any of the DBMS_OUTPUT messages and gives an error because a transaction control statement cannot be used in the exception section of a procedure.
Correct answer: C
Question 2
Identify two situations where the DBMS_SQL package should be used. (Choose two.)
  1. The SELECT list is not known until run time.
  2. The dynamic SQL statement retrieves rows into records.
  3. You do not know how many columns a select statement will return, or what their data types will.
  4. You must use the % found SQL cursor attribute after issuing a dynamic SQL statement that is an insert or update statement.
Correct answer: AC
Question 3
View the Exhibit and examine the code. 
  
 
Why does the code give an error on execution?
  1. because the WORD_LIST variable is not visible in procedure wording
  2. because the lexicon variable is not visible in procedure ADD_ENTRY
  3. because the lexicon variable is not initialized in procedure wording
  4. because the WORD_LIST parameter in out mode cannot be of a record data type
Correct answer: A
Question 4
View the Exhibit and examine the structure of the EMP table. 
  
Which stages are performed when the above block is executed? (Choose all that apply)
  1. Bind
  2. Parse
  3. Fetch
  4. Execute
Correct answer: BCD
Question 5
View the Exhibit and examine the structure of the EMP table. 
  
You want to create two procedures using the overloading feature to search for employee details based on either the employee name or employee number. 
Which two rules should you apply to ensure that the overloading feature is used successfully? (Choose two.)
  1. The procedures can be either stand-alone or packaged.
  2. The procedures should be created only as packaged subprograms.
  3. The procedures should be created only as stand-alone subprograms.
  4. Each subprogram's formal parameters should differ in both name and data type.
  5. The formal parameters of each subprogram should differ in data type but can use the same names.
Correct answer: BE
Question 6
Which two statements are true about the instead of triggers? (Choose two.)
  1. Delete operations cannot be performed using the instead of triggers.
  2. The instead or triggers must be created to add or modify data through any view.
  3. The instead of triggers can be written only for views, and the before and after timing options are not valid.
  4. The check option for views is not enforced when Insertions or updates to the view are performed by using the instead of triggers.
Correct answer: CD
Explanation:
References:
References:
Question 7
Which two statements are correct about the usage of parameters in functions? (Choose two.)
  1. Functions can have only in mode parameters.
  2. Functions called in SQL statements cannot have out or in out mode parameters.
  3. Functions having in, out, or in out parameters can be called only in named PL/SQL subprograms
  4. Functions having in, out, or in out parameters can be called in PL/SQL procedures and anonymous blocks.
Correct answer: BD
Question 8
View the Exhibit and examine the structure of the employees table. 
  
Examine the following block of code:
  
What is the outcome when the above code is executed?
  1. It executes successfully.
  2. It gives an error because decode cannot be used in a PL/SQL block.
  3. It gives an error because the AVG function cannot be used in a PL/SQL block
  4. It gives an error because the MONTHS_BETWEEN function cannot be used in a PL/SQL block.
  5. It gives an error because both the AVG and decode functions cannot be used in a PL/SQL block.
Correct answer: A
Question 9
Examine the following code:
  
Which two statements are true about the above function? (Choose two.)
  1. It can be used only in a parallelized query.
  2. It can be used in both a parallelized query and a parallelized DML statement.
  3. It can be used only in a parallelized data manipulation language (DML) statement.
  4. It can have a separate copy run in each of the multiple processes when called from a SQL statement that is run in parallel.
  5. It requires a PRAGMA RESTRICT_REFERENCES declaration with RNDS, WNDS, RNPS, and WNPS specified in order to use parallel optimization.
Correct answer: BD
Explanation:
References:
References:
Question 10
/temp/my_files is an existing folder in the server, facultylist.txt is an existing text file in this folder. 
Examine the following commands that are executed by the DBA:
SQL>CREATE DIRECTION my_dir AS ‘/temp/my_files’:
SQL>GRANT READ ON DIRECTORY my_dir To public:
View the Exhibit and examine the procedure created by user SCOTT to read the list of faculty names from the text file. 
  
SCOTT executes the procedure as follows:
SQL>SET SERVEROUTPUT ON 
SQL>EXEC read_file (‘MY_DIR’, FACULTYLIST.TXT’) 
What is the outcome?
  1. It goes into an infinite loop.
  2. It executes successfully and displays only the list of faculty names.
  3. It does not execute and displays an error message because the end-of-file condition is not taken care of.
  4. It executes successfully and displays the list of faculty names followed by a "no data found” error message.
Correct answer: D
Explanation:
References:
References:
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!